﻿<%@ Page Language="C#" MasterPageFile="~/Common/Master/FrameMain.master" AutoEventWireup="true" Inherits="Mail_Detail" Title="无标题页" Codebehind="Detail.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<script type="text/javascript" src="../../common/Js/menu.js"></script>
<script type="text/javascript">
    function sendReceipt(userID, mailUserID)
    {
        if (confirm("是否发送'已读'回执?"))
        {
            var url = "SendReceipt.ashx?UserID=" + userID + "&MailUserID=" + mailUserID;
            $.get(url);
        }
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="toolbar" style="border-bottom-width:0px;">
        <ul>
            <li><a href="javascript:history.back();"><span><b style="background-image: url(../../common/images/Mail/back.gif);">
                &nbsp;</b><asp:Literal ID="Literal1" runat="server" Text="返回"></asp:Literal></span></a></li>
            <li><a id="lnkReply" runat="server" href="javascript:;"><span><b style="background-image: url(../../common/images/Mail/Reply.gif);">
                &nbsp;</b><asp:Literal ID="Literal2" runat="server" Text="回复"></asp:Literal></span></a></li>
            <li><a id="lnkForward" runat="server" href="javascript:;"><span><b style="background-image: url(../../common/images/Mail/Forword.gif);">
                &nbsp;</b><asp:Literal ID="Literal3" runat="server" Text="转发"></asp:Literal></span></a></li>
            <li><a id="lnkDelete" runat="server" href="javascript:;"><span><b style="background-image: url(../../common/images/Mail/delete.gif);">
                &nbsp;</b><asp:Literal ID="Literal4" runat="server" Text="删除"></asp:Literal></span></a></li>
             <li>
                <div style="width: 0px; height: 0px; position: absolute;">
                    <div id="divmenu" style="display: none; z-index:50;">
                        <asp:Repeater ID="rptMenu" runat="server" onitemcommand="rptMenu_ItemCommand">
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#Eval("ID") %>'><%#Eval("Name") %></asp:LinkButton>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </div>
                <a id="lnkMove" href="javascript:showMenu('lnkMove');"><span><b style="background-image: url(../../common/images/Mail/move.gif);">
                    &nbsp;</b><asp:Literal ID="Literal5" runat="server" Text="移动"></asp:Literal></span></a>
            </li>
            <li><asp:Button id="btnReply" onclick="btnReply_Click" runat="server"  Text="回复"></asp:Button>
            <asp:Button id="btnForword" onclick="btnForword_Click" runat="server" Text="转发"></asp:Button>
            <asp:Button id="btnDelete" onclick="btnDelete_Click" runat="server" Text="删除"></asp:Button></li>
        </ul>
    </div>
   
    <asp:Panel ID="pnlMain" runat="server" Width="100%" ScrollBars="auto">
        <!----><table border="0" cellpadding="0" cellspacing="0" style="width: 100%" class="tbl1">
            <tr style="">
                <td style="width: 80px; text-align: center; height: 30px;" class="title">
                    <asp:Label ID="Label1" runat="server" Text="日　期：" Font-Bold="True"></asp:Label>
                </td>
                <td>
                    &nbsp;<asp:Label ID="InputTime" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr style="">
                <td style="width: 80px; text-align: center; height: 30px;" class="title">
                    <asp:Label ID="Label2" runat="server" Text="发件人：" Font-Bold="True"></asp:Label>
                </td>
                <td>
                    &nbsp;<asp:Label ID="CreatorName" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr style="">
                <td style="width: 80px; text-align: center; height: 30px" class="title">
                    <asp:Label ID="Label3" runat="server" Text="收件人：" Font-Bold="True"></asp:Label>
                </td>
                <td>
                    &nbsp;<asp:Label ID="RecieveNames" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr id="trCopyTo" runat="server">
                <td style="width: 80px; text-align: center; height: 30px" class="title">
                    <asp:Label ID="Label6" runat="server" Text="抄送人：" Font-Bold="True"></asp:Label>
                </td>
                <td>
                    &nbsp;<asp:Label ID="CopyToNames" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr style="">
                <td style="width: 80px; height: 30px; text-align: center;" class="title">
                    <asp:Label ID="Label4" runat="server" Text="主　题：" Font-Bold="True"></asp:Label>
                </td>
                <td>
                    &nbsp;<asp:Label ID="Name" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr style="" id="trAttach" runat="server">
                <td style="width: 80px; height: 30px; text-align: center;" class="title">
                    <asp:Label ID="Label5" runat="server" Text="附　件：" Font-Bold="True"></asp:Label>
                </td>
                <td>
                    &nbsp;<asp:Repeater ID="rptAttach" runat="server">
                        <ItemTemplate>
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/common/images/Common/attach.gif" />
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("DownloadUrl") %>'
                                Text='<%# Eval("Name") %>'></asp:HyperLink>;&nbsp;
                        </ItemTemplate>
                    </asp:Repeater>
                </td>
            </tr>
        </table>
        <div style="padding: 20px 10px 20px 15px">
            <asp:Literal ID="Content" runat="server"></asp:Literal>
        </div>
    </asp:Panel>
</asp:Content>
